package com.example.xpvideo.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.example.xpvideo.entity.LsLocalGoods;
import com.example.xpvideo.entity.LsShopAdmin;
import com.example.xpvideo.entity.res.LocalGoodsDetailRes;
import com.example.xpvideo.entity.res.LocalGoodsRes;
import com.example.xpvideo.entity.res.PhpMerchantsRes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface LocalGoodsMapper {
    List<LocalGoodsRes> LocalCommodityList(@Param(Constants.WRAPPER) Wrapper<LsLocalGoods> ew);
    LocalGoodsDetailRes LocalCommodityDetail(@Param(Constants.WRAPPER) Wrapper<LsLocalGoods> ew);
}
